package net.muchine.core.service.user;

import java.util.List;

import net.muchine.core.domain.user.User;
import net.muchine.core.domain.user.UserSearch;
import net.muchine.core.service.GenericService;
import net.muchine.core.service.user.exception.PasswordNotMatchedException;
import net.muchine.core.service.user.exception.UserAccountNotExistException;

public interface UserService extends GenericService<User, Long> {
	public User login(String userId, String password) 
			throws UserAccountNotExistException, PasswordNotMatchedException;
	
	public List<User> findByParameters(UserSearch search);
	
	public User findById(String id);
	
	public List<User> selectAll();
}
